import Vue from 'vue';
import VueRouter from 'vue-router';
import Home from '@/views/02/Home.vue';
import Search from "../views/02/Search.vue"
import notfind from '@/views/02/notfind.vue'
Vue.use(VueRouter);
const router = new VueRouter({
  mode: 'history',
  routes: [
    { path: '/', redirect: '/home' },
    { path: '/search/:words?',name:'search', component: Search },
    { path: '/home', component: Home },
    { path: '*', component: notfind }
  ]
})
export default router